﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Services;
using System.Web.Script.Services;
using CoyoEden.Web.Controls;
using CoyoEden.Web.Data;

namespace CoyoEden.Web.Services
{
	/// <summary>
	/// Common service
	/// </summary>
	[ScriptService]
	public class Common:WebService
	{
		[WebMethod]
		public FeedbackData InitSWFUpload() {
			FeedbackData data = new FeedbackData();
			ViewManager<ViewBase> swfControl = new ViewManager<ViewBase>("~/User controls/SWFUpload.ascx");
			data.Body = swfControl.Render();
			return data;
		}
	}
}
